﻿using System.Threading.Tasks;
using NiuX.Excel;
using Xunit;

namespace NiuX.Common.Tests.Excel;

public class ExcelHelperTest
{
    [Fact]
    public async Task Read()
    {
        //var ruleCompanies = await ExcelUtility.ReadAsListAsync<RuleCompany>(@"D:\Projects\Jst\S3.TJ\S3.Simulation-0128\test\UniTests.XUniTest\bin\Debug\net6.0\Files\规则商家.xlsx");
        //Assert.NotEmpty(ruleCompanies);
    }

    public class RuleCompany
    {
        public int 商家ID { get; set; }

        public int 分仓ID { get; set; }
    }
}